package restauranti.util;

import restauranti.DAO.ClienteDAO;
import restauranti.DAOHibernate.ClienteDAOHibernate;


public class DAOFactory {
	
	public static ClienteDAO criarClienteDAO() {
		ClienteDAOHibernate clienteDAO = new ClienteDAOHibernate();
		clienteDAO.setSession(HibernateUtil.getSessionFactory().getCurrentSession());
		return clienteDAO;
	}
	
}
